package de.reichelt.fx;

/**
 *
 * @author dieter
 */
public class FxPos {
  Double x;
  Double y;

  @Override
  public String toString() {
    return "FxPos:["+x+","+y+"]";
  }
  
  public FxPos() {
    x = 0.0;
    y = 0.0;
  }

  public Double getX() {
    return x;
  }

  public void setX(Double x) {
    this.x = x;
  }

  public Double getY() {
    return y;
  }

  public void setY(Double y) {
    this.y = y;
  }
  
  @Override
  public FxPos clone() throws CloneNotSupportedException {
    super.clone();
    FxPos ret = new FxPos();
    ret.setX(this.x+0.0);
    ret.setY(this.y+0.0);
    return ret;
  }
}
